package com.cn.xiaonuo.common.constant;

public interface AlipayConstant {

    String METHOD = "alipay.trade.app.pay";

    String FORMATE = "JSON";

    String SIGNTYPE = "RSA2";

    String VERSION = "1.0";

    // 支付宝重要参数
    String APP_ID = "2019051364470301";

    // 支付宝应用公钥
    String ALIPAY_PUBLIC_KEY = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAn5QzkL+IIinULIsifmd7VAuV1bcDRpwt1AZe+SLmEZUNdwqTxQbbLZow3ykwA/uU7ol9J6CVWF05v4xEcJQbF9ZSxtNHdJ3R7jwFuSEifu5jQkQ0t74VMO6NiPJJwLE0NMCFnCQY98EgRGjqPwdAqgUDRFBgpo7hydjkIdEKQcHDIxhXZKaIR4hhMLkRUrZbk3G/LA56wHZAbgU5TtoCq9jDpuQdG0/ZzcCNR91LpSky21LEd0qnYHesOkbzHM5e+qfn12etkVuPRo/dbqXtmxicNa6ll1DuIFpcP+z/VN7BOb+9dInIP9i6zi+X9VCn3WyJMFARk+BGemSCh99o7wIDAQAB";

    String APP_PRIVATE_KEY = "MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQC+cwFsn97pzAdjgYxvMeMpDyQS8aByE3yAyJB/ZBNw9LjoGs6NA2RTQcWwwS1xVN2kXSlZVXMbEyqlBsKfK5HYEohY17PT5wi4dB0H0QvEjvX/5+qxqwpaXbHzvYX/EoW3GfIeLHpA2HmPbV0hDNzSW+57wuuPbd4TuWv11gQ9mHyHDpFAsS05Ih05rcSyNgm5rqIiXgbT14bk/GcGhX4msQYuAkQLfROs2gflayeJ9FLkEOBUfNnvcukUa4K5gbZkkqult/zLVduUK6Br9Fq5IHulmf/y6zvD99/bsIiJH1yn5aBP5v04MD5NfkchUH8ktNpVe3uSVKMFs5Y1iunZAgMBAAECggEASVgTCVk8SL+5bLnccoo82HgrRVxmlOgqP5J+C4Fn901X1JNWTnoq7eFbl+mdbZLoVL9ICE5fKOMlvi4vT4tA/HyOo+BW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7OaXriedfOpDvH9bY1tAllvYf/VPD0Ba+wHTKmLjU=";


    String CHARSET = "utf-8";

    String PRODUCTCODE = "QUICK_MSECURITY_PAY";

    String SELLER_ID = "2088431770177984";

    String EXPIRE_TIME = "30m";

    String IOS_ALIPAY_PUBLIC_KEY = "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDTtzycZQe6a0QLkecMR8+RChaPA2V7oUJiApSJcnt2iz9d8EjCwAGkzwROL9LEbooAdYoqspCV24//ssHTL7cJhxSdSt1vaCE2AlFhKvQX9Af3XShnoTYxWzlpiRIy/HI7Ta65q6dQKTQkf8vIdLhbVCx1p/TDJgLAa5EhnJnsiQIDAQAB";

    String notify_url = SystemConstant.COM_DAMAIN_URL + "/api/index/alipayment/alipayOrderNotify";
    //三方支付回调地址
    String third_notify_url = SystemConstant.COM_DAMAIN_URL + "/api/index/thirdalipayment/alipayOrderNotify";
    /**
     * 生活缴费-微信服务器回调通知url
     * @Author: songlin.li
     * @Date: 2021/5/11
     */
    String ELIFE_NOTIFY_URL = SystemConstant.COM_DAMAIN_URL + "/api/index/recharge/aliNotify";
//    String notify_url = "https://"+SystemConstant.COM_DAMAIN_URL+"/searched-api/api/common/v1/Alipay/alipayOrderNotify";
//String NOTIFY_URL = "http://" + SystemConstant.COM_DAMAIN_URL + "/api/index/wxpayment/weixinNotify";

    //    String agent_url = "https://"+SystemConstant.COM_DAMAIN_URL+"/searched-api/api/common/v1/Alipay/agentNotify";
    String agent_url = SystemConstant.COM_DAMAIN_URL + "/api/index/alipayment/agentNotify";

    /**
     * 未支付
     */
    Integer NO_PAY = 0;

    /**
     * 支付宝支付方式
     */
    Integer ALIPAY_CODE = 2;

    /**
     * 充值成功
     */
    Integer PAY_SUCCEESS = 1;

    /**
     * 充值失败
     */
    Integer PAY_LOSE = 3;

    /**
     * 支付方式code
     */
    String PAY_CODE = "alipay";

    /**
     * 支付方式name
     */
    String PAY_NAME = "支付宝支付";

    /**
     * 支付方式code
     */
    String MIXED_PAY_CODE = "mixed_payment";

    /**
     * 支付方式name
     */
    String MIXED_PAY_NAME = "支付宝";

    /**
     * 支付订单查询
     */
    String URL = "https://openapi.alipay.com/gateway.do";

}
